[INFO] fetching crate nakamoto-p2p 0.2.1...
[INFO] testing nakamoto-p2p-0.2.1 against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] extracting crate nakamoto-p2p 0.2.1 into /workspace/builds/worker-3/source
[INFO] validating manifest of crates.io crate nakamoto-p2p 0.2.1 on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] finished tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] tweaked toml for crates.io crate nakamoto-p2p 0.2.1 written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90b102142a090f32026313cda3703ee39d65536a9b668d3eba34732d005aca1b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "90b102142a090f32026313cda3703ee39d65536a9b668d3eba34732d005aca1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90b102142a090f32026313cda3703ee39d65536a9b668d3eba34732d005aca1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90b102142a090f32026313cda3703ee39d65536a9b668d3eba34732d005aca1b", kill_on_drop: false }`
[INFO] [stdout] 90b102142a090f32026313cda3703ee39d65536a9b668d3eba34732d005aca1b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 0023946fd1857528015e13a06d1b15f591872cc91ddf3395a5e358169d601358
[INFO] running `Command { std: "docker" "start" "-a" "0023946fd1857528015e13a06d1b15f591872cc91ddf3395a5e358169d601358", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.26
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling cc v1.0.67
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling bech32 v0.7.3
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling bitcoin_hashes v0.9.4
[INFO] [stderr]    Compiling nonempty v0.5.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]    Compiling syn v1.0.71
[INFO] [stderr]    Compiling crossbeam-channel v0.4.4
[INFO] [stderr]    Compiling secp256k1 v0.19.0
[INFO] [stderr]    Compiling bitcoin v0.25.2
[INFO] [stderr]    Compiling microserde-derive v0.1.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.24
[INFO] [stderr]    Compiling microserde v0.1.13
[INFO] [stderr]    Compiling thiserror v1.0.24
[INFO] [stderr]    Compiling nakamoto-common v0.2.0
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 51.37s
[INFO] running `Command { std: "docker" "inspect" "0023946fd1857528015e13a06d1b15f591872cc91ddf3395a5e358169d601358", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0023946fd1857528015e13a06d1b15f591872cc91ddf3395a5e358169d601358", kill_on_drop: false }`
[INFO] [stdout] 0023946fd1857528015e13a06d1b15f591872cc91ddf3395a5e358169d601358
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 54276a36f54b73fc88fc5ac092f83a2acb45d5d2f11922af72f53920c4ba8f20
[INFO] running `Command { std: "docker" "start" "-a" "54276a36f54b73fc88fc5ac092f83a2acb45d5d2f11922af72f53920c4ba8f20", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.94
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling ppv-lite86 v0.2.10
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling quickcheck_macros v0.9.1
[INFO] [stderr]    Compiling getrandom v0.2.2
[INFO] [stderr]    Compiling rand_core v0.6.2
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.3.0
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.8.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling quickcheck v0.9.2
[INFO] [stderr]    Compiling nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_chain::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_chain::filter::cache::FilterCache;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_chain::block::cache::BlockCache;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_chain::block::store;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use nakamoto_test::block::cache::model;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |     use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use nakamoto_test::logger;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:691:13
[INFO] [stdout]     |
[INFO] [stdout] 691 |             BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap()
[INFO] [stdout]     |             ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:691:30
[INFO] [stdout]     |
[INFO] [stdout] 691 |             BlockCache::from(store::Memory::new(BITCOIN_HEADERS.clone()), params, &[]).unwrap()
[INFO] [stdout]     |                              ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FilterCache`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:697:25
[INFO] [stdout]     |
[INFO] [stdout] 697 |             let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap();
[INFO] [stdout]     |                         ^^^^^^^^^^^ use of undeclared type `FilterCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:697:43
[INFO] [stdout]     |
[INFO] [stdout] 697 |             let cache = FilterCache::from(store::memory::Memory::genesis(network)).unwrap();
[INFO] [stdout]     |                                           ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         model::Cache,
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:169:9
[INFO] [stdout]     |
[INFO] [stdout] 169 |         model::FilterCache,
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:205:17
[INFO] [stdout]     |
[INFO] [stdout] 205 |                 model::Cache,
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests/simulator.rs:206:17
[INFO] [stdout]     |
[INFO] [stdout] 206 |                 model::FilterCache,
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:68:18
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                  ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:68:32
[INFO] [stdout]    |
[INFO] [stdout] 68 |         Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                                ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:74:23
[INFO] [stdout]    |
[INFO] [stdout] 74 |         let filters = model::FilterCache::new(FilterHeader::genesis(network));
[INFO] [stdout]    |                       ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:99:22
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                      ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:99:36
[INFO] [stdout]    |
[INFO] [stdout] 99 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]    |                                    ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:104:22
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                      ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:104:36
[INFO] [stdout]     |
[INFO] [stdout] 104 |             Protocol<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                                    ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:114:23
[INFO] [stdout]     |
[INFO] [stdout] 114 |         let filters = model::FilterCache::new(FilterHeader::genesis(network));
[INFO] [stdout]     |                       ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:158:21
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Builder<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                     ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:158:35
[INFO] [stdout]     |
[INFO] [stdout] 158 |             Builder<model::Cache, model::FilterCache, HashMap<net::IpAddr, KnownAddress>>,
[INFO] [stdout]     |                                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:219:27
[INFO] [stdout]     |
[INFO] [stdout] 219 |             let filters = model::FilterCache::from(cfheaders);
[INFO] [stdout]     |                           ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:250:19
[INFO] [stdout]     |
[INFO] [stdout] 250 |     let filters = model::FilterCache::new(FilterHeader::default());
[INFO] [stdout]     |                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/tests.rs:311:17
[INFO] [stdout]     |
[INFO] [stdout] 311 |     let store = store::Memory::new(BITCOIN_HEADERS.clone());
[INFO] [stdout]     |                 ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:314:19
[INFO] [stdout]     |
[INFO] [stdout] 314 |     let filters = model::FilterCache::new(FilterHeader::genesis(Network::Mainnet));
[INFO] [stdout]     |                   ^^^^^ use of undeclared crate or module `model`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/tests.rs:331:22
[INFO] [stdout]     |
[INFO] [stdout] 331 |     let alice_tree = BlockCache::from(alice_store, params.clone(), &[]).unwrap();
[INFO] [stdout]     |                      ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BlockCache`
[INFO] [stdout]    --> src/protocol/tests.rs:332:20
[INFO] [stdout]     |
[INFO] [stdout] 332 |     let bob_tree = BlockCache::from(
[INFO] [stdout]     |                    ^^^^^^^^^^ use of undeclared type `BlockCache`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `store`
[INFO] [stdout]    --> src/protocol/tests.rs:333:9
[INFO] [stdout]     |
[INFO] [stdout] 333 |         store::Memory::new(NonEmpty::new(*alice_tree.genesis())),
[INFO] [stdout]     |         ^^^^^ use of undeclared crate or module `store`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]   --> src/protocol/tests.rs:73:28
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let cache = model::Cache::new(genesis);
[INFO] [stdout]    |                            ^^^^^ not found in `model`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::Cache;
[INFO] [stdout]    |
[INFO] [stdout] 40 |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::detect::cache::Cache;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:113:28
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let cache = model::Cache::new(genesis);
[INFO] [stdout]     |                            ^^^^^ not found in `model`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 40  |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 40  |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::detect::cache::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:218:31
[INFO] [stdout]     |
[INFO] [stdout] 218 |             let tree = model::Cache::from(chain);
[INFO] [stdout]     |                               ^^^^^ not found in `model`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 40  |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 40  |     use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::detect::cache::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `model`
[INFO] [stdout]    --> src/protocol/tests.rs:246:23
[INFO] [stdout]     |
[INFO] [stdout] 246 |     let tree = model::Cache::new(genesis);
[INFO] [stdout]     |                       ^^^^^ not found in `model`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout] 4   | use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 4   | use crate::reactor::chan::waker::thread::thread::env::sys::ext::net::raw_fd::sys_common::backtrace::backtrace_rs::symbolize::gimli::mystd::detect::cache::Cache;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:760:30
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |                              help: consider removing the borrow: `remote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:775:30
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |                              help: consider removing the borrow: `remote`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]   --> src/protocol/tests.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 | use nakamoto_common::block::store::{Genesis, Store};
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nakamoto-p2p`
[INFO] [stdout] error: aborting due to 39 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "54276a36f54b73fc88fc5ac092f83a2acb45d5d2f11922af72f53920c4ba8f20", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "54276a36f54b73fc88fc5ac092f83a2acb45d5d2f11922af72f53920c4ba8f20", kill_on_drop: false }`
[INFO] [stdout] 54276a36f54b73fc88fc5ac092f83a2acb45d5d2f11922af72f53920c4ba8f20
